package pro.lepers.portfolio.view.contents.contact {
	import pro.lepers.portfolio.view.contents.AbstractContent;

	/**
	 * @author plepers
	 */
	public class Contact extends AbstractContent {
		
		public var header : Header;
		
		
		public function Contact () {
			_build( );
		}

		private function _build () : void {
		}

		
		override public function dispose () : void {

		}

		override public function setSize (w : int, h : int) : void {
			super.setSize( w, h );
			
			x = ( w ) >> 1;
			y = ( h - height ) >> 1;
		}

		
		override public function setDatas (datas : XML) : void {
			super.setDatas( datas );
			
			header.setDatas( datas );
			list = new ItemList(datas.infos[0] );
			addChild( list );
			list.y = 100;
			
			y = ( _h - height ) >> 1;
			
		}
		
		private var list: ItemList;

	}
}
